package com.alks.function.mapper.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcSurplusDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-11-22
 */
public interface SD_SQ_PcSurplusDetailMapper extends BaseMapper<PcSurplusDetail> {
    /**
     * 获取剩料仓剩余库存
     *
     * @param tempMtls
     * @param companyId
     * @return 包含mtlNo和stkQty
     */
    List<Map<String, Object>> stkQueryByMtlNos(@Param("mtlNos") List<String> mtlNos, @Param("companyId") String companyId);
}
